package com.yundasys.lab16springbootplus.lab16springbootplus.importselect;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @PACKAGE_NAME: com.yundasys.lab16springbootplus.lab16springbootplus.importselect
 * @NAME: MySelectorController
 * @USER: jiangta
 * @DATE: 2022/9/22
 * @TIME: 11:28 上午
 * @PROJECT_NAME: springboot-labs
 */
@RestController
public class MySelectorController {
    @Autowired
    private IndexDao indexDao;

    @GetMapping("/test")
    public void test() {
        System.out.println("indexDao name :"+ indexDao.getName());
    }
}
